﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	申请修改密码
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<%
    User user = (User)ViewData["user"];
    bool success = (bool)ViewData["success"];
    if (success)
    {
%>
    <h2>你好，<%=user.Name%>，你的密码申请已经处理，请稍后检查你的邮箱。</h2>
<%
}
    else
    {
%>
<form method="post" action="">
    <input type="submit" value="申请修改密码" onclick="return confirm('确定修改密码吗？');" />
</form>
<%
    }
%>
</asp:Content>
